package com.thinkgem.jeesite.modules.sys.dao;


import java.util.List;
import java.util.Map;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.sys.entity.TbAdvertise;
import com.thinkgem.jeesite.modules.sys.entity.TbCommunity;
import com.thinkgem.jeesite.modules.sys.entity.TbCommunityExample;
import org.apache.ibatis.annotations.Param;

@MyBatisDao
public interface TbCommunityMapper extends CrudDao<TbAdvertise> {
    int countByExample(TbCommunityExample example);

    int deleteByExample(TbCommunityExample example);

    int deleteByPrimaryKey(Integer id);

    int deleteCommunity(Integer id);

    int insert(TbCommunity record);

    int insertSelective(TbCommunity record);

    List<TbCommunity> selectByExample(TbCommunityExample example);

    TbCommunity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbCommunity record, @Param("example") TbCommunityExample example);

    int updateByExample(@Param("record") TbCommunity record, @Param("example") TbCommunityExample example);

    int updateByPrimaryKeySelective(TbCommunity record);

    int updateByPrimaryKey(TbCommunity record);

    List<TbCommunityMapper> getTbCommunityList();

    List findByPage(TbCommunity tbCommunity);

    List allCommunity(TbCommunity tbCommunity);

    TbCommunity getCommitByCommName(TbCommunity tbCommunity);

    TbCommunity agentCheckCommName(TbCommunity tbCommunity);

    TbCommunity proAndCity(String uid);

    TbCommunity ares(String areId);



}